class BaseObj:

    def __init__(self):
        self.keys = {}

    def __setitem__(self, key, value):
        self.keys[key] = value

    def __getitem__(self, item):
        return self.keys[item]

    def __str__(self):
        return str(self.keys)